package com.um.jdy.common.charge.entity.po;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.um.springboot.starter.orm.entity.BaseEntity;
import lombok.Data;

import java.util.Date;


/**
 * 充电订单实时功率
 *
 * @TableName charge_order_power
 */
@TableName(value = "charge_order_power")
@Data
public class OrderPower extends BaseEntity {

    /**
     *
     */
    @TableId
    protected String chargeOrderPowerId;

    /**
     * 租户ID
     */
    protected String comId;

    /**
     * 订单ID
     */
    protected String chargeOrderId;

    /**
     * 实时功率(W)
     */
    protected double power;

    /**
     * 实时电流(A)
     */
    protected Double current;

    /**
     * 实时电压(V)
     */
    protected Double voltage;

    /**
     * 充电时间（秒）
     */
    protected Integer time;

    /**
     * 状态
     */
    protected String status;

    /**
     * 累计电量(W/h)
     */
    protected Long energy;

    /**
     * 创建时间
     */
    protected Date createTime;

    /**
     * 是否删除
     */
    protected String isDelete;

    /**
     * 删除时间
     */
    protected Date deleteTime;
}
